<link rel="stylesheet" type="text/css" href="/stylesheet/jwysiwyg/jquery.wysiwyg.css" />
<script type="text/javascript" src="/javascript/jquery.wysiwyg.js"></script>
<script type="text/javascript" src="/javascript/image.picker.js"></script>

<form action="javascript:void(0);" onsubmit="PageSave(this);" style="position:relative">
	<input type="hidden" name="page[name]" value="<?php echo $page["name"]; ?>" />
	
	<div class="right save_container">
		<input type="submit" value="<?php __("Sparen"); ?>" class="right btn" style="margin:0 0 0 5px;" />
		<div class="message right"></div>
	</div>
	
	<ul class="tabs">
	<?php foreach($this->langs as $key=>$label): ?>
		<li><a href="#<?php echo $key; ?>"><?php echo $label; ?></a></li>
	<?php endforeach; ?>
	</ul>
	
	<?php foreach($page["html"] as $lang=>$html): ?>
		<div id="tab-content-<?php echo $lang; ?>" class="tab-content">
			<textarea class="editor" rows="5" cols="30" name="page[html][<?php echo $lang?>]" id="lang_<?php echo $lang; ?>">
				<?php echo $html; ?>
			</textarea>
		</div>
	<?php endforeach; ?>
</form>